package com.happy.cat.project.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 聊天厅室类型对象 cat_chatroom_type
 * 
 * @author verne
 * @date 2020-07-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cat_chatroom_type")
@ApiModel(value="聊天厅室类型对象", description="聊天厅室类型对象数据")
public class CatChatroomType implements Serializable {

private static final long serialVersionUID=1L;


    /** ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 厅室名称 */
    @Excel(name = "厅室名称")
    @ApiModelProperty(value = "厅室名称")
    private String typeName;

    /** 厅室类型 */
    @Excel(name = "厅室类型")
    @ApiModelProperty(value = "厅室类型")
    private Long chatroomType;

    /** 麦位管理 */
    @Excel(name = "麦位管理")
    @ApiModelProperty(value = "麦位管理")
    private Long wheat;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /** 创建人 */
    @ApiModelProperty(value = "创建时间")
    private String createBy;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;
}
